package com.baidu.unlockdemo.customview

import android.view.View

fun View.dp2pxF(dp: Int): Float = dp * resources.displayMetrics.density